import request from '@/utils/request.js'

export const getList = (data) => {
   return request({
      url: '/notice',
      method: 'get',
      data
   })
}

export const getDetail = (id) => {
   return request({
      url: `/notice/detail/${id}`,
      method: 'get'
   })
}